package invoicesystem.entry;

public class Address {
    private Integer id;//主键
    private Integer enterprise_id;//企业id
    private String default_status;//是否默认
    private String addressee;//收件人
    private String phone;//联系电话
    private String area;//省市区
    private String address_detail;//详细地址


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEnterprise_id() {
        return enterprise_id;
    }

    public void setEnterprise_id(Integer enterprise_id) {
        this.enterprise_id = enterprise_id;
    }

    public String getAddressee() {
        return addressee;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", enterprise_id=" + enterprise_id +
                ", addressee='" + addressee + '\'' +
                ", phone='" + phone + '\'' +
                ", area='" + area + '\'' +
                ", address_detail='" + address_detail + '\'' +
                ", default_status='" + default_status + '\'' +
                '}';
    }

    public void setAddressee(String addressee) {
        this.addressee = addressee;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress_detail() {
        return address_detail;
    }

    public void setAddress_detail(String address_detail) {
        this.address_detail = address_detail;
    }

    public String getDefault_status() {
        return default_status;
    }

    public void setDefault_status(String default_status) {
        this.default_status = default_status;
    }

    public Address() {
    }

    public Address(Integer id, Integer enterprise_id, String addressee, String phone, String area, String address_detail, String default_status) {
        this.id = id;
        this.enterprise_id = enterprise_id;
        this.addressee = addressee;
        this.phone = phone;
        this.area = area;
        this.address_detail = address_detail;
        this.default_status = default_status;
    }

}
